import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/main_webcurrencyintroduct_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/main_webcurrencyintroduct_entity.g.dart';

@JsonSerializable()
class MainWebcurrencyintroductEntity {
	MainWebcurrencyintroductContent? content;
	MainWebcurrencyintroductCurrencymarketlist? currencymarketlist;

	MainWebcurrencyintroductEntity();

	factory MainWebcurrencyintroductEntity.fromJson(Map<String, dynamic> json) => $MainWebcurrencyintroductEntityFromJson(json);

	Map<String, dynamic> toJson() => $MainWebcurrencyintroductEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MainWebcurrencyintroductContent {
	String? title;
	List<MainWebcurrencyintroductContentList>? list;

	MainWebcurrencyintroductContent();

	factory MainWebcurrencyintroductContent.fromJson(Map<String, dynamic> json) => $MainWebcurrencyintroductContentFromJson(json);

	Map<String, dynamic> toJson() => $MainWebcurrencyintroductContentToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MainWebcurrencyintroductContentList {
	String? key;
	String? caption;
	String? type;
	@JSONField(name: "content_type")
	String? contentType;
	String? content;
	List<MainWebcurrencyintroductContentListLinkcontent>? linkcontent;
	String? intro;

	MainWebcurrencyintroductContentList();

	factory MainWebcurrencyintroductContentList.fromJson(Map<String, dynamic> json) => $MainWebcurrencyintroductContentListFromJson(json);

	Map<String, dynamic> toJson() => $MainWebcurrencyintroductContentListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MainWebcurrencyintroductContentListLinkcontent {
	String? key;
	String? title;
	String? img;
	String? link;

	MainWebcurrencyintroductContentListLinkcontent();

	factory MainWebcurrencyintroductContentListLinkcontent.fromJson(Map<String, dynamic> json) => $MainWebcurrencyintroductContentListLinkcontentFromJson(json);

	Map<String, dynamic> toJson() => $MainWebcurrencyintroductContentListLinkcontentToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MainWebcurrencyintroductCurrencymarketlist {
	String? title;
	MainWebcurrencyintroductCurrencymarketlistList? list;

	MainWebcurrencyintroductCurrencymarketlist();

	factory MainWebcurrencyintroductCurrencymarketlist.fromJson(Map<String, dynamic> json) => $MainWebcurrencyintroductCurrencymarketlistFromJson(json);

	Map<String, dynamic> toJson() => $MainWebcurrencyintroductCurrencymarketlistToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MainWebcurrencyintroductCurrencymarketlistList {
	List<MainWebcurrencyintroductCurrencymarketlistListList>? list;
	@JSONField(name: "sum_volume_24h_from")
	double? sumVolume24hFrom;
	@JSONField(name: "total_page")
	int? totalPage;
	@JSONField(name: "total_count")
	int? totalCount;

	MainWebcurrencyintroductCurrencymarketlistList();

	factory MainWebcurrencyintroductCurrencymarketlistList.fromJson(Map<String, dynamic> json) => $MainWebcurrencyintroductCurrencymarketlistListFromJson(json);

	Map<String, dynamic> toJson() => $MainWebcurrencyintroductCurrencymarketlistListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MainWebcurrencyintroductCurrencymarketlistListList {
	String? flag;
	@JSONField(name: "emoji_flag")
	String? emojiFlag;
	String? logo;
	int? rank;
	int? id;
	String? name;
	String? website;
	String? twitter;
	@JSONField(name: "twitter_name")
	String? twitterName;
	String? language;
	int? hot;
	int? weight;
	int? enabled;
	@JSONField(name: "com_id")
	String? comId;
	@JSONField(name: "market_id")
	int? marketId;
	@JSONField(name: "market_name")
	String? marketName;
	String? symbol;
	String? currency;
	String? anchor;
	String? pair;
	String? price;
	@JSONField(name: "price_usd")
	String? priceUsd;
	@JSONField(name: "price_cny")
	String? priceCny;
	@JSONField(name: "percent_change_utc8_yesterday")
	double? percentChangeUtc8Yesterday;
	@JSONField(name: "percent_change_utc0_yesterday")
	double? percentChangeUtc0Yesterday;
	@JSONField(name: "percent_change_today")
	dynamic percentChangeToday;
	@JSONField(name: "percent_change_utc8")
	double? percentChangeUtc8;
	@JSONField(name: "percent_change_utc8_0")
	double? percentChangeUtc80;
	@JSONField(name: "currency_id")
	int? currencyId;
	@JSONField(name: "volume_24h_usd")
	String? volume24hUsd;
	@JSONField(name: "sum_volume_24h_usd")
	String? sumVolume24hUsd;
	@JSONField(name: "volume_24h")
	String? volume24h;
	@JSONField(name: "volume_24h_from")
	double? volume24hFrom;
	@JSONField(name: "sum_volume_24h_from")
	double? sumVolume24hFrom;
	@JSONField(name: "percent_change_utc0")
	double? percentChangeUtc0;
	@JSONField(name: "percent_change_utc0_0")
	double? percentChangeUtc00;
	String? alias;

	MainWebcurrencyintroductCurrencymarketlistListList();

	factory MainWebcurrencyintroductCurrencymarketlistListList.fromJson(Map<String, dynamic> json) => $MainWebcurrencyintroductCurrencymarketlistListListFromJson(json);

	Map<String, dynamic> toJson() => $MainWebcurrencyintroductCurrencymarketlistListListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}